<div class="contentr fr">
    <div class="cr">
        <p>交易记录</p>
    </div>
    <div leftmargin=20 topmargin=20 class=" ml32 mt25" >
        <table width="890" border="1" bordercolor="#dddddd" cellspacing="0" cellpadding="0" class="f14">

            <tr >
                <td width="174" height="60" align="center" bgcolor="#f0f0f0">流水号</td>
                <td width="116" height="40" align="center" bgcolor="#f0f0f0">类型</td>
                <td width="102" height="40" align="center" bgcolor="#f0f0f0">金额变动</td>
                <td width="149" height="40" align="center" bgcolor="#f0f0f0">日期</td>
                <td width="337" height="40" align="center" bgcolor="#f0f0f0">备注</td>
            </tr>

            <?php foreach($exchange as $e){ ?>
            <tr >
                <td height="40" align="center"><?php echo $e->serial_num; ?></td>
                <td height="40" align="center">兑现</td>
                <td height="40" align="center">-<?php echo $e->coin_num; ?></td>
                <td height="40" align="center"><?php echo date('Y-m-d',$e->create_time); ?></td>
                <td height="40" align="center">无</td>
            </tr>
            <?php } ?>

            <?php foreach($quickrecharge as $qr){ ?>
                <tr >
                    <td height="40" align="center"><?php echo $qr->serial_num; ?></td>
                    <td height="40" align="center">充值</td>
                    <td height="40" align="center">+<?php echo $qr->coin; ?></td>
                    <td height="40" align="center"><?php echo date('Y-m-d',$qr->create_time); ?></td>
                    <td height="40" align="center">无</td>
                </tr>
            <?php } ?>

            <?php foreach($buyreleasebycoin as $br){ ?>
                <tr >
                    <td height="40" align="center"><?php echo $br->serial_num; ?></td>
                    <td height="40" align="center">购买发布点</td>
                    <td height="40" align="center">-<?php echo $br->coin_num; ?></td>
                    <td height="40" align="center"><?php echo date('Y-m-d',$br->buy_time); ?></td>
                    <td height="40" align="center">无</td>
                </tr>
            <?php } ?>

            <?php foreach($deposit as $d){ ?>
                <tr >
                    <td height="40" align="center"><?php echo $d->sn; ?></td>
                    <td height="40" align="center">充值保证金</td>
                    <td height="40" align="center">-<?php echo $d->coin; ?></td>
                    <td height="40" align="center"><?php echo date('Y-m-d',$d->ctime); ?></td>
                    <td height="40" align="center">无</td>
                </tr>
            <?php } ?>

        </table>


    </div>
</div>